
package com.zcp.wizard;

public interface Constants {
    // message
    int MSG_INIT_OK = 1;

    int MSG_DISMISS_PROGRESS = 2;

    int MSG_CONTENT_READY = 3;

    int MSG_CHECK_FORCE_COMPRESSION = 4;

    int MSG_TOAST = 5;

    int MSG_PRIVATE = 200;

    int MSG_RETSET_BATTERY_TIP = 6;

    // SharedPreferences key

    String WIZARD_SETTINGS = "wizard_settings";
    
    String WIZARD_SYSTEM_WIDGET_SHOW = "wizard_system_widget_show";
    
    String DONT_SHOW_TIPS = "dont_show_tips";// 1是不显示，0是显示
    
    String HAVE_SET_WIDGET = "have_set_widget";// 大于0是已经设置，0是没有设置

    public static String EXIT_BROADCAST = "com.zcp.wizard.exit";// 退出事件

    public static String WIDGET_BATTERY_CHANGE_BROADCAST_BEGIN = "com.zcp.wizard.widget.begin";

    public static String WIDGET_BATTERY_CHANGE_BROADCAST_END = "com.zcp.wizard.widget.end";

    /**
     * 电池电量相关图标
     */
    public static int[] batteryPowerIds = new int[] {
            R.id.imgBattery_10, R.id.imgBattery_20, R.id.imgBattery_30, R.id.imgBattery_40,
            R.id.imgBattery_50, R.id.imgBattery_60, R.id.imgBattery_70, R.id.imgBattery_80,
            R.id.imgBattery_90, R.id.imgBattery_100
    };
    
    float TEMPERATURE_GREEN=36f;//温度图标显示绿色的阈值
    
    float TEMPERATURE_YELLOW=42f;//温度图标显示黄色的阈值
    
    int POW_RED=10;//电量变成红色的阈值
    
    int POW_TIP10=10;
    
    int POW_TIP30=30;
    
    int TEMPERATURE_TIP60=42;
    
    
    int BATTERY_TIP_GAP=5000;
    
    int START_MOVIE=5001;
    
    public static final String SCREEN_BRIGHTNESS_MODE = "screen_brightness_mode";
    
    /**
     * SCREEN_BRIGHTNESS_MODE value for manual mode.   
     */
    public static final int SCREEN_BRIGHTNESS_MODE_MANUAL = 0;

    /**
     * SCREEN_BRIGHTNESS_MODE value for manual mode.
     */
    public static final int SCREEN_BRIGHTNESS_MODE_AUTOMATIC = 1;
    
    public static final float minBrightness = 0.1f;// 最小亮度值
    
    
    int BATTERY_UNPLUGED=0;
    
    int SCORE_RED=60;//TODO 60分才提示性能很差是不是太低了些    
    
    public static final String UPDATE_SERVER = "http://www.ztewg.com/apk/update.xml";
    
    
    public static final String UPDATE_WIDGET="com_ztemt_private_change_by_add_widget";

}
